//
//  DQCollectionCell.m
//  DQBaisibudejie
//
//  Created by 杜倩 on 16/9/2.
//  Copyright © 2016年 杜倩. All rights reserved.
//

#import "DQCollectionCell.h"
#import "UIImageView+WebCache.h"
@implementation DQCollectionCell
#pragma mark xib加载完自动调用
- (void)awakeFromNib {

//   _array =[self.delegate modelWithArray];
//    NSLog(@"%ld",_array.count);
}


-(void)setModel:(DQMeModel *)model{
    _model=model;
    NSURL *url=[NSURL URLWithString:model.icon];
    [_imgView sd_setImageWithURL:url];
    _NameLabel.text=model.name;
}

@end
